VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "Form1"
   ClientHeight    =   3420
   ClientLeft      =   48
   ClientTop       =   324
   ClientWidth     =   4608
   LinkTopic       =   "Form1"
   ScaleHeight     =   3420
   ScaleWidth      =   4608
   StartUpPosition =   3  'Windows Default
   Begin VB.CommandButton Command1 
      Caption         =   "Click Me"
      Height          =   372
      Left            =   1800
      TabIndex        =   0
      Top             =   1560
      Width           =   972
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Command1_Click()
Dim myRef As Object
Set myRef = CreateObject("Component.InsideCOM")
Print "Sum(4, 6) = " & myRef.Sum(4, 6)
Print "Sum(3, 4) = " & myRef.Sum(y:=4, x:=3)
End Sub
